<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Freetype OpenGL: text_buffer_t Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="style.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="content"><!-- do not remove this div! -->

<div id="top"><!-- do not remove this div! -->

  
  <div id="titlearea">
    
    <div id="projectname">Freetype OpenGL</div>
    
    
    <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
    
  </div>
  

<!--

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Freetype OpenGL
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
  </td>
  
  
  
   
  
 </tr>
 </tbody>
</table>
</div>
-->


<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">text_buffer_t Struct Reference<div class="ingroups"><a class="el" href="group__text-buffer.html">Text buffer</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Text buffer structure. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demo-ansi_8c-example.html#_a0">demo-ansi.c</a>, <a class="el" href="demo-gamma_8c-example.html#_a0">demo-gamma.c</a>, <a class="el" href="demo-markup_8c-example.html#_a0">demo-markup.c</a>, and <a class="el" href="demo-subpixel_8c-example.html#_a0">demo-subpixel.c</a>.</dd>
</dl></div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a1d13ea520cd74f396f67b3b3ab844c58"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d13ea520cd74f396f67b3b3ab844c58"></a>
<a class="el" href="structvertex__buffer__t.html">vertex_buffer_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtext__buffer__t.html#a1d13ea520cd74f396f67b3b3ab844c58">buffer</a></td></tr>
<tr class="memdesc:a1d13ea520cd74f396f67b3b3ab844c58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vertex buffer. <br/></td></tr>
<tr class="memitem:a7d9ae1107c2046a5a37fa0000c2fa10f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7d9ae1107c2046a5a37fa0000c2fa10f"></a>
<a class="el" href="structfont__manager__t.html">font_manager_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtext__buffer__t.html#a7d9ae1107c2046a5a37fa0000c2fa10f">manager</a></td></tr>
<tr class="memdesc:a7d9ae1107c2046a5a37fa0000c2fa10f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Font manager. <br/></td></tr>
<tr class="memitem:a325a44fac0204b8715ea8d77c998f8f1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a325a44fac0204b8715ea8d77c998f8f1"></a>
<a class="el" href="unionvec2.html">vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtext__buffer__t.html#a325a44fac0204b8715ea8d77c998f8f1">origin</a></td></tr>
<tr class="memdesc:a325a44fac0204b8715ea8d77c998f8f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pen origin. <br/></td></tr>
<tr class="memitem:aa18977695e0384540858d4f3c9e1834e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa18977695e0384540858d4f3c9e1834e"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtext__buffer__t.html#aa18977695e0384540858d4f3c9e1834e">line_start</a></td></tr>
<tr class="memdesc:aa18977695e0384540858d4f3c9e1834e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index (in the vertex buffer) of the line start. <br/></td></tr>
<tr class="memitem:afc9b83943f39668e5de2bd032db50cff"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc9b83943f39668e5de2bd032db50cff"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtext__buffer__t.html#afc9b83943f39668e5de2bd032db50cff">line_ascender</a></td></tr>
<tr class="memdesc:afc9b83943f39668e5de2bd032db50cff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current line ascender. <br/></td></tr>
<tr class="memitem:a796e9d16743d243a6ae08cc8ddccd103"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a796e9d16743d243a6ae08cc8ddccd103"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtext__buffer__t.html#a796e9d16743d243a6ae08cc8ddccd103">line_descender</a></td></tr>
<tr class="memdesc:a796e9d16743d243a6ae08cc8ddccd103"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current line decender. <br/></td></tr>
<tr class="memitem:a5e12b91a66da41fc23a5675b94086394"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e12b91a66da41fc23a5675b94086394"></a>
GLuint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtext__buffer__t.html#a5e12b91a66da41fc23a5675b94086394">shader</a></td></tr>
<tr class="memdesc:a5e12b91a66da41fc23a5675b94086394"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shader handler. <br/></td></tr>
<tr class="memitem:aac3629453a9b7545243d3f3770b6df7e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac3629453a9b7545243d3f3770b6df7e"></a>
GLuint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtext__buffer__t.html#aac3629453a9b7545243d3f3770b6df7e">shader_texture</a></td></tr>
<tr class="memdesc:aac3629453a9b7545243d3f3770b6df7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shader "texture" location. <br/></td></tr>
<tr class="memitem:a359ca8eb9a341df2cbdea9b56ebdbfe5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a359ca8eb9a341df2cbdea9b56ebdbfe5"></a>
GLuint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtext__buffer__t.html#a359ca8eb9a341df2cbdea9b56ebdbfe5">shader_pixel</a></td></tr>
<tr class="memdesc:a359ca8eb9a341df2cbdea9b56ebdbfe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shader "pixel" location. <br/></td></tr>
</table>
</div><!-- contents -->
</div>
</body>
</html>
